<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3"
      xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <meta charset="UTF-8"/>
    <title>springboot-shiro专题学习 登录页面 </title>

    <link href="/css/style.css" rel="stylesheet" type="text/css">
</head>
<body class="login">
<div class="login_m">
    <div class="login_logo">
        <!--<img src="images/logo.png" width="196" height="46">-->
        <h1 style="">springboot-shiro专题学习</h1>
        <br/>
        <br/>
        <h1 style="">shiro-init</h1></div>
    <div class="login_boder">
        <form action="/login" method="post">
            <div class="login_padding">
                <h2>用户名</h2>
                <label>
                    <input type="text" id="username" name="username" class="txt_input txt_input2"
                           onfocus="if (value ==&#39;请输入用户名&#39;){value =&#39;&#39;}"
                           onblur="if (value ==&#39;&#39;){value=&#39;请输入用户名&#39;}" value="请输入用户名">
                </label>
                <h2>密码</h2>
                <label>
                    <input type="password" name="password" id="userpwd" class="txt_input" value="123456"
                           onfocus="if (value ==&#39;密码&#39;){value =&#39;&#39;}"
                           onblur="if (value ==&#39;&#39;){value=&#39;密码&#39;}">
                </label>
                <p class="forgot"><a href="javascript:void(0);">忘记密码?</a></p>
                <div class="rem_sub">
                    <div class="rem_sub_l">
                        <input type="checkbox" name="rememberMe" id="rememberMe">
                        <label for="checkbox">记住</label>
                    </div>
                    <label>
                        <input type="submit" class="sub_button" name="button" id="button" value="登录"
                               style="opacity: 0.7;">
                    </label>
                </div>
            </div>
        </form>
    </div><!--login_boder end-->
    <h1 th:if="${msg != null }" th:text="${msg}" style="color: red"></h1>
</div><!--login_m end-->
<br/>
<br/>
<br/>
<br/>
<p align="center"> 版权所有 <a href="http://www.yb7s.com/" target="_blank">朱亚彬</a></p>

</body>
</html>